The Dreamweaver JavaScript API > Selection functions > dom.source.previousWord() |
![]() ![]() ![]() |
Availability
Dreamweaver 4.0
Description
Moves the insertion point to the beginning of the previous word (or words if specified) in the source view. If content is already selected, this function extends the selection to the left.
Arguments
{nTimes}
, {bShiftIsDown}
![]() |
nTimes is the number of words the insertion point will move. If nTimes is omitted, the default is 1. |
![]() |
bShiftIsDown is a Boolean indicating whether or not content is being selected. If bShiftIsDown is true , the content is selected. |
Returns
Nothing.
![]() ![]() ![]() |